package com.ruoyi.admin.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("api_token")
public class ApiToken {
    @Schema(name = "主键ID")
    @TableId(value = "id")
    private String id;

    @Schema(name = "token")
    @TableField("token_type")
    private String tokenType;

    @Schema(name = "创建时间")
    @TableField("create_time")
    private String createTime;
}
